/* eslint-disable */
/* 用于编辑 esnext 模块 */

const glob = require('glob');

const rm = require('rimraf');

rm.rimrafSync('dist');

const files = glob.sync('src/**/*.ts', { ignore: 'src/**/ips*.ts' });

require('esbuild').buildSync({
  entryPoints: files,
  target: ['esnext'],
  outdir: 'dist',
});
